<html>
<head>
</head>
<body>
<label>Upload Thumbnails</label>
<div>
	<input type="file" id="thumbToUpload" multiple="" onChange="buatListTumb();" accept="image/*" />
</div><br />
<div><i>Thumbnails You Selected:</i></div>
<ul id="thumbList"></ul>

<script language='javascript'>
function buatListTumb() {
	var input = document.getElementById("thumbToUpload");
	var ul = document.getElementById("thumbList");
			
	for (var i = 0; i < input.files.length; i++) {
		var li = document.createElement("li");
		li.innerHTML = input.files[i].name;
		ul.appendChild(li);
	}
}
</script>
</body>
</html>